package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

public interface IUserDao {

    //查询所有用户
    List<User> selectList() throws Exception;

    //根据条件进行用户查询
    User selectOne(User user) throws Exception;

    //添加
    Integer insert(User user) throws Exception;

    //修改
    Integer update(User user) throws Exception;

    //删除
    Integer delete(User user) throws Exception;




}
